﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Configuration;

namespace E_ICS.E_ICS
{
    public partial class About : Form
    {
        string copyright = @"© 2015 Enterprise Resources Providers Co., Ltd and WFS-PG Cargo Co., Ltd. All Rights Reserved. 
This work may not be reproduced or redistributed, in whole or in part without prior written 
permission by Enterprise Resources Providers Co. Ltd or WFS-PG Cargo Co., Ltd. and provided all 
copies contain the following statement: © 2015 Enterprise Resources Providers Co. Ltd and 
WFS-PG Cargo Co., Ltd. This work is reproduced and distributed with the permission of the 
Enterprise Resources Providers Co. Ltd or WFS-PG Cargo Co., Ltd. No other use is permitted 
without the express prior written permission of the Enterprise Resources Providers Co. Ltd 
or WFS-PG Cargo Co., Ltd";
        public About()
        {
            InitializeComponent();
           

        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
            this.Dispose();
            this.Visible = false;
        }

        private void Help_Load(object sender, EventArgs e)
        {
            this.Visible = true;
            //lblAppID.Text = ConfigurationManager.AppSettings["appID"];
            lblAppID.Text = GlobalVariable.user.ApplicationID;
            //lblAppName.Text = "E-ICS";
            lblAppName.Text = GlobalVariable.user.ApplicationName;
            //lblVersion.Text = "1.0";
            lblVersion.Text = GlobalVariable.version;
            lblCopyright.Text = copyright;
        }

        private void About_FormClosed(object sender, FormClosedEventArgs e)
        {

        }
    }
}
